package com.bai.edu.mapper;

import com.bai.edu.entity.Course;
import com.bai.edu.entity.vo.CoursePublishVo;
import com.bai.edu.entity.vo.CourseWebVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author bai
 * @since 2023-07-25
 */
@Mapper
public interface CourseMapper extends BaseMapper<Course> {

    public CoursePublishVo getPublishCourseInfo(@Param("courseId") String courseId);
    //根据课程id查询课程所有信息
    public CourseWebVo getBaseCourseInfo(@Param("courseId") String courseId);
}
